package com.earl.eatbao.service.impl;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.earl.eatbao.commons.dao.BaseRepsitoty;
import com.earl.eatbao.commons.service.BaseServiceImpl;
import com.earl.eatbao.dao.eatbao.ClassificationDao;
import com.earl.eatbao.domain.eatbao.Classification;
import com.earl.eatbao.service.ClassificationService;

@Service("classificatonService")
public class ClassificationServiceImpl extends BaseServiceImpl<Classification,Long> implements ClassificationService {

	// desc:日记工具logger
	private static final Logger logger = LoggerFactory.getLogger(ClassificationServiceImpl.class);

    @Resource
    private ClassificationDao classificationDao;

	@Override
	protected BaseRepsitoty<Classification, Long> getDao() {
		// TODO Auto-generated method stub
		return classificationDao;
	}
}